<!DOCTYPE HTML>
<html lang="en" >
    <!-- Start book 个人笔记 -->
    <head>
        <!-- head:start -->
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>字体库的使用 | 个人笔记</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-toggle-chapters/toggle.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../../md/css/边框.html" />
    
    
    <link rel="prev" href="../../md/css/伪对象选择器.html" />
    

        <!-- head:end -->
    </head>
    <body>
        <!-- body:start -->
        
    <div class="book"
        data-level="2.2"
        data-chapter-title="字体库的使用"
        data-filepath="md/css/字体.md"
        data-basepath="../.."
        data-revision="Thu Feb 14 2019 20:54:34 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        开始界面
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="md/html/jianjie.html">
            
                
                    <a href="../../md/html/jianjie.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        html
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="md/html/20170719.html">
            
                
                    <a href="../../md/html/20170719.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        head
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="md/html/2017720.html">
            
                
                    <a href="../../md/html/2017720.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        常用标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="md/html/sy.html">
            
                
                    <a href="../../md/html/sy.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        音频与视频
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="md/html/ckw.html">
            
                
                    <a href="../../md/html/ckw.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        实体字符与锚点
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="md/html/table.html">
            
                
                    <a href="../../md/html/table.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.5.</b>
                        
                        table表格
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="md/html/input.html">
            
                
                    <a href="../../md/html/input.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.6.</b>
                        
                        input标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="md/html/form.html">
            
                
                    <a href="../../md/html/form.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.7.</b>
                        
                        form表单
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="md/html/buju.html">
            
                
                    <a href="../../md/html/buju.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.8.</b>
                        
                        网页布局
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="md/css/css.html">
            
                
                    <a href="../../md/css/css.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        CSS
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="md/css/20170724.html">
            
                
                    <a href="../../md/css/20170724.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        选择器
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="md/css/通配选择器.html">
            
                
                    <a href="../../md/css/通配选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.1.</b>
                        
                        通配选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.2" data-path="md/css/元素选择器.html">
            
                
                    <a href="../../md/css/元素选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.2.</b>
                        
                        元素选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.3" data-path="md/css/群组选择器.html">
            
                
                    <a href="../../md/css/群组选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.3.</b>
                        
                        群组选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.4" data-path="md/css/关系选择器.html">
            
                
                    <a href="../../md/css/关系选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.4.</b>
                        
                        关系选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.5" data-path="md/css/id和class选择器.html">
            
                
                    <a href="../../md/css/id和class选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.5.</b>
                        
                        id和class选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.6" data-path="md/css/weilei.html">
            
                
                    <a href="../../md/css/weilei.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.6.</b>
                        
                        伪类选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.7" data-path="md/css/属性选择器.html">
            
                
                    <a href="../../md/css/属性选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.7.</b>
                        
                        属性选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.8" data-path="md/css/伪对象选择器.html">
            
                
                    <a href="../../md/css/伪对象选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.8.</b>
                        
                        伪对象选择器
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter active" data-level="2.2" data-path="md/css/字体.html">
            
                
                    <a href="../../md/css/字体.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        字体库的使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="md/css/边框.html">
            
                
                    <a href="../../md/css/边框.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        border边框和background背景
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="md/css/浮动.html">
            
                
                    <a href="../../md/css/浮动.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        浮动
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="md/css/块级和行内.html">
            
                
                    <a href="../../md/css/块级和行内.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        块级和行内元素
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="md/css/盒子.html">
            
                
                    <a href="../../md/css/盒子.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        盒子模型和三角形
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="md/css/聊天气泡.html">
            
                
                    <a href="../../md/css/聊天气泡.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.7.</b>
                        
                        聊天气泡
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="md/css/段落控制.html">
            
                
                    <a href="../../md/css/段落控制.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.8.</b>
                        
                        文字溢出处理
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.9" data-path="md/css/固定定位.html">
            
                
                    <a href="../../md/css/固定定位.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.9.</b>
                        
                        定位
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.10" data-path="md/css/sacss.html">
            
                
                    <a href="../../md/css/sacss.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.</b>
                        
                        sacss和码云git的使用
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.10.1" data-path="md/css/sacss的安装.html">
            
                
                    <a href="../../md/css/sacss的安装.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.1.</b>
                        
                        sacss的安装
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.10.2" data-path="md/css/sacss使用.html">
            
                
                    <a href="../../md/css/sacss使用.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.2.</b>
                        
                        sacss的使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.10.3" data-path="md/css/码云.html">
            
                
                    <a href="../../md/css/码云.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.3.</b>
                        
                        码云
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.11" data-path="md/css/变换和过渡.html">
            
                
                    <a href="../../md/css/变换和过渡.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.11.</b>
                        
                        transform变换和transition过渡
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.12" data-path="md/css/swiper的使用.html">
            
                
                    <a href="../../md/css/swiper的使用.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.12.</b>
                        
                        swiper的使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.13" data-path="md/css/viewport视口.html">
            
                
                    <a href="../../md/css/viewport视口.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.13.</b>
                        
                        viewport视口
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.14" data-path="md/css/列式布局.html">
            
                
                    <a href="../../md/css/列式布局.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.14.</b>
                        
                        列式布局
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.15" data-path="md/css/媒体查询.html">
            
                
                    <a href="../../md/css/媒体查询.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.15.</b>
                        
                        媒体查询
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.16" data-path="md/css/flex弹性盒子.html">
            
                
                    <a href="../../md/css/flex弹性盒子.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.16.</b>
                        
                        flex弹性盒子
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3" data-path="md/javascript/javascript.html">
            
                
                    <a href="../../md/javascript/javascript.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.</b>
                        
                        javascript
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1" data-path="md/javascript/类型.html">
            
                
                    <a href="../../md/javascript/类型.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.1.</b>
                        
                        类型与语法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="md/javascript/定时器.html">
            
                
                    <a href="../../md/javascript/定时器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.2.</b>
                        
                        定时器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="md/javascript/Date.html">
            
                
                    <a href="../../md/javascript/Date.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.3.</b>
                        
                        Date时间、日期
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.4" data-path="md/javascript/document的使用.html">
            
                
                    <a href="../../md/javascript/document的使用.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.4.</b>
                        
                        DOM的增、删、改、查
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.5" data-path="md/javascript/数组.html">
            
                
                    <a href="../../md/javascript/数组.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.5.</b>
                        
                        数组
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.6" data-path="md/javascript/for循环.html">
            
                
                    <a href="../../md/javascript/for循环.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.6.</b>
                        
                        for循环
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.7" data-path="md/javascript/Math对象.html">
            
                
                    <a href="../../md/javascript/Math对象.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.7.</b>
                        
                        Math对象
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.8" data-path="md/javascript/事件.html">
            
                
                    <a href="../../md/javascript/事件.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.</b>
                        
                        事件
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.8.1" data-path="md/javascript/事件监听器.html">
            
                
                    <a href="../../md/javascript/事件监听器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.1.</b>
                        
                        事件监听器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.8.2" data-path="md/javascript/滚动条事件.html">
            
                
                    <a href="../../md/javascript/滚动条事件.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.2.</b>
                        
                        滚动条事件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.8.3" data-path="md/javascript/事件代理.html">
            
                
                    <a href="../../md/javascript/事件代理.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.3.</b>
                        
                        事件代理
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.8.4" data-path="md/javascript/事件派发.html">
            
                
                    <a href="../../md/javascript/事件派发.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.4.</b>
                        
                        事件派发
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.8.5" data-path="md/javascript/鼠标跟随事件.html">
            
                
                    <a href="../../md/javascript/鼠标跟随事件.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.5.</b>
                        
                        鼠标跟随事件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.8.6" data-path="md/javascript/鼠标事件.html">
            
                
                    <a href="../../md/javascript/鼠标事件.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.6.</b>
                        
                        鼠标、键盘事件
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.9" data-path="md/javascript/对象.html">
            
                
                    <a href="../../md/javascript/对象.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.9.</b>
                        
                        对象
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.10" data-path="md/javascript/轮播图.html">
            
                
                    <a href="../../md/javascript/轮播图.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.10.</b>
                        
                        轮播图
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.11" data-path="md/javascript/高德地图的使用.html">
            
                
                    <a href="../../md/javascript/高德地图的使用.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.11.</b>
                        
                        高德地图的使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.12" data-path="md/javascript/预加载.html">
            
                
                    <a href="../../md/javascript/预加载.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.12.</b>
                        
                        预加载
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.13" data-path="md/javascript/vue框架.html">
            
                
                    <a href="../../md/javascript/vue框架.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.13.</b>
                        
                        vue框架
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.14" data-path="md/javascript/http缓存.html">
            
                
                    <a href="../../md/javascript/http缓存.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.14.</b>
                        
                        http缓存
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.15" data-path="md/javascript/闭包.html">
            
                
                    <a href="../../md/javascript/闭包.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.15.</b>
                        
                        闭包
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.16" data-path="md/javascript/Ajax.html">
            
                
                    <a href="../../md/javascript/Ajax.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.16.</b>
                        
                        Ajax
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.17" data-path="md/javascript/Ajax数据请求.html">
            
                
                    <a href="../../md/javascript/Ajax数据请求.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.17.</b>
                        
                        Ajax数据请求
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.18" data-path="md/javascript/打包工具.html">
            
                
                    <a href="../../md/javascript/打包工具.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.18.</b>
                        
                        打包工具
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.19" data-path="md/javascript/前端框架汇总.html">
            
                
                    <a href="../../md/javascript/前端框架汇总.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.19.</b>
                        
                        前端框架汇总
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4" data-path="md/jquery/jquery.html">
            
                
                    <a href="../../md/jquery/jquery.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.</b>
                        
                        jquery
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="5" data-path="md/book/book.html">
            
                
                    <a href="../../md/book/book.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.</b>
                        
                        弹性盒子
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="6" data-path="md/tool/前端工具.html">
            
                
                    <a href="../../md/tool/前端工具.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.</b>
                        
                        前端工具
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.1" data-path="md/tool/git的安装.html">
            
                
                    <a href="../../md/tool/git的安装.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.1.</b>
                        
                        git的安装
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="7" data-path="md/opus/item.html">
            
                
                    <a href="../../md/opus/item.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>7.</b>
                        
                        项目
                    </a>
            
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../../" >个人笔记</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h2 id="&#x5B57;&#x4F53;">&#x5B57;&#x4F53;</h2>
<blockquote>
<p>&#x8BBE;&#x7F6E;&#x6587;&#x5B57;&#x7684;&#x5B57;&#x4F53;</p>
<ul>
<li>&#x53EF;&#x4EE5;&#x4F20;&#x5165;&#x591A;&#x4E2A;&#x503C;&#xFF0C;&#x7528;&#x9017;&#x53F7;&#x9694;&#x5F00;</li>
<li>&#x8BFB;&#x53D6;&#x7684;&#x987A;&#x5E8F;&#x662F;&#x4ECE;&#x5DE6;&#x5230;&#x53F3;&#xFF0C;&#x5982;&#x679C;&#x5DE6;&#x4FA7;itinerary&#x4E0D;&#x5B58;&#x5728;&#xFF0C;&#x5219;&#x8BFB;&#x4E0B;&#x4E00;&#x4F4D;&#xFF0C;&#x76F4;&#x5230;&#x4F7F;&#x7528;&#x7CFB;&#x7EDF;&#x5B57;&#x4F53;</li>
<li>&#x8BBE;&#x7F6E;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x5EFA;&#x8BAE;&#x5148;&#x5199;&#x897F;&#x6587;&#x5B57;&#x4F53;&#x3001;win&#x4E2D;&#x6587;&#x5B57;&#x4F53;&#x3001;mac&#x4E2D;&#x6587;&#x5B57;&#x4F53;&#x3001;&#x901A;&#x7528;&#x7684;&#x4E2D;&#x6587;&#x5B57;&#x4F53;</li>
</ul>
</blockquote>
<h2 id="&#x5B57;&#x4F53;&#x5C5E;&#x6027;">&#x5B57;&#x4F53;&#x5C5E;&#x6027;</h2>
<ul>
<li>font-family &#x6307;&#x5B9A;&#x6587;&#x672C;&#x4F7F;&#x7528;&#x67D0;&#x4E2A;&#x5B57;&#x4F53;&#x6216;&#x5B57;&#x4F53;&#x5E8F;&#x5217;</li>
<li>font-size &#x8BBE;&#x7F6E;&#x5B57;&#x4F53;&#x5927;&#x5C0F;&#xFF0C;&#x53EF;&#x4EE5;&#x4F20;&#x5165;&#x5177;&#x4F53;&#x6570;&#x503C;&#xFF0C;&#x6216;&#x767E;&#x5206;&#x6BD4;&#xFF08;&#x57FA;&#x4E8E;&#x5B83;&#x7684;&#x7236;&#x5143;&#x7D20;&#x7684;&#x5B57;&#x4F53;&#x5927;&#x5C0F;&#x6765;&#x8BA1;&#x7B97;&#xFF0C;pc&#x7AEF;&#x6700;&#x5C0F;&#x5B57;&#x4F53;&#x4E3A;12px,&#x9ED8;&#x8BA4;16px&#xFF09;</li>
<li>font-weight &#x63A7;&#x5236;&#x52A0;&#x7C97;&#x6548;&#x679C;</li>
<li>font-style &#x63A7;&#x5236;&#x5B57;&#x4F53;&#x6837;&#x5F0F;</li>
<li>font-variant &#x63A7;&#x5236;&#x897F;&#x6587;&#x5B57;&#x4F53;,&#x8F6C;&#x6362;&#x5B57;&#x6BCD;&#x4E3A;&#x5927;&#x5199;,&#x4F46;&#x662F;&#x7528;&#x5C0F;&#x5199;&#x5B57;&#x6BCD;&#x7684;&#x5C3A;&#x5BF8;</li>
<li>line-height &#x8BBE;&#x7F6E;&#x884C;&#x9AD8;&#xFF0C;&#x53EF;&#x4EE5;&#x4F20;&#x5177;&#x4F53;&#x503C;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x4F20;&#x767E;&#x5206;&#x6BD4;&#xFF08;&#x57FA;&#x4E8E;&#x5F53;&#x524D;&#x5143;&#x7D20;&#x7684;&#x5B57;&#x4F53;&#x5927;&#x5C0F;&#x6765;&#x8BA1;&#x7B97;&#xFF09;</li>
</ul>
<p><code>Font-family: Helvetica, Tahoma, Arial, STXihei, &quot;&#x534E;&#x6587;&#x7EC6;&#x9ED1;&quot;, &quot;Microsoft YaHei&quot;, &quot;&#x5FAE;&#x8F6F;&#x96C5;&#x9ED1;&quot;, sans-serif</code></p>
<p>1.&#x5BF9;&#x4E8E;&#x82F1;&#x6587;&#x5B57;&#x7B26;&#xFF0C;&#x9996;&#x5148;&#x67E5;&#x627E;Helvetica(Mac)&#xFF0C;&#x7136;&#x540E;&#x67E5;&#x627E;Tahoma(Win)&#xFF0C;&#x90FD;&#x627E;&#x4E0D;&#x5230;&#x5C31;&#x7528;Arial(Mac&amp;Win)&#xFF1B;&#x82E5;&#x662F;&#x4EE5;&#x4E0A;&#x4E09;&#x8005;&#x90FD;&#x7F3A;&#x5931;&#xFF0C;&#x5219;&#x4F7F;&#x7528;&#x5F53;&#x524D;&#x9ED8;&#x8BA4;&#x7684;sans-serif&#x5B57;&#x4F53;(&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x6216;&#x6D4F;&#x89C8;&#x5668;&#x6307;&#x5B9A;)&#xFF1B;<br>
2.&#x5BF9;&#x4E8E;&#x4E2D;&#x6587;&#x5B57;&#x4F53;&#xFF0C;&#x6211;&#x4EEC;&#x5DF2;&#x7ECF;&#x4E86;&#x89E3;&#x5176;&#x89C4;&#x5219;&#x4E86;&#x3002;&#x534E;&#x6587;&#x7EC6;&#x9ED1;(Mac)&#xFF0C;&#x5FAE;&#x8F6F;&#x96C5;&#x9ED1;(Win)&#x662F;&#x8FD9;&#x4E24;&#x4E2A;&#x5E73;&#x53F0;&#x7684;&#x9ED8;&#x8BA4;&#x4E2D;&#x6587;&#x5B57;&#x4F53;&#x3002;</p>
<h1 id="&#x5982;&#x4F55;&#x4F7F;&#x7528;&#x5B57;&#x4F53;&#x5E93;">&#x5982;&#x4F55;&#x4F7F;&#x7528;&#x5B57;&#x4F53;&#x5E93;</h1>
<p>1.&#x628A;&#x83B7;&#x53D6;&#x5230;&#x7684;&#x5B57;&#x4F53;&#x5E93;&#x653E;&#x5728;&#x65B0;&#x5EFA;&#x7684;font&#x76EE;&#x5F55;&#x4E0B;<br>
2.</p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-title">div</span> <span class="hljs-attribute">class</span>=<span class="hljs-value">&quot;font&quot;</span>&gt;</span>abc<span class="hljs-tag">&lt;/<span class="hljs-title">div</span>&gt;</span>
</code></pre>
<pre><code class="lang-css"><span class="hljs-at_rule">@<span class="hljs-keyword">font-face</span></span> <span class="hljs-rules">{
    <span class="hljs-rule"><span class="hljs-attribute">font-family</span>:<span class="hljs-value"> bgg</span></span>;
    <span class="hljs-rule"><span class="hljs-attribute">src</span>:<span class="hljs-value"> <span class="hljs-function">url</span>(font/XXX.ttf)</span></span>;
}</span>
<span class="hljs-tag">font</span><span class="hljs-rules">{
    <span class="hljs-rule"><span class="hljs-attribute">font-family</span>:<span class="hljs-value"> bgg</span></span>;
}</span>
</code></pre>
<h2 id="&#x5B57;&#x4F53;&#x5C0F;&#x56FE;&#x6807;icon&#x5C0F;&#x56FE;&#x6807;">&#x5B57;&#x4F53;&#x5C0F;&#x56FE;&#x6807;(icon&#x5C0F;&#x56FE;&#x6807;)</h2>
<h4 id="&#x4F7F;&#x7528;&#x65B9;&#x6CD5;">&#x4F7F;&#x7528;&#x65B9;&#x6CD5;</h4>
<p>1.&#x4E0B;&#x8F7D;&#x5FC3;&#x4EEA;&#x7684;&#x56FE;&#x6807;<br>
2.&#x628A;iconfont.css&#x62F7;&#x5230;&#x9879;&#x76EE;&#x76EE;&#x5F55;&#x4E0B;&#x7684;css&#x6587;&#x4EF6;&#x5939;<br>
3.&#x628A;eot&#x3001;svg&#x3001;ttf&#x3001;woff&#x7B49;&#x5B57;&#x4F53;&#x5E93;&#x6587;&#x4EF6;&#x62F7;&#x5230;&#x9879;&#x76EE;&#x76EE;&#x5F55;&#x4E0B;&#x7684;font&#x6587;&#x4EF6;&#x5939;<br>
4.&#x4FEE;&#x6539;iconfont.css&#x91CC;&#x7684;font-face&#x5F15;&#x5165;&#x8DEF;&#x5F84;<br>
5.&#x5728;html&#x9875;&#x9762;&#x4E2D;&#xFF0C;link&#x5F15;&#x5165;iconfont.css<br>
6.&#x7528;&#x5982;&#x4E0B;&#x4EE3;&#x7801;&#x4F7F;&#x7528;&#x5373;&#x53EF;<code>&lt;i class=&quot;iconfont icon-panda&quot;&gt;&lt;/i&gt;</code><br>
7.&#x5982;&#x679C;&#x8981;&#x4FEE;&#x6539;&#x5176;&#x989C;&#x8272;&#x6216;&#x5927;&#x5C0F;&#xFF0C;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x9009;&#x4E2D;&#x5B83;&#xFF0C;&#x7136;&#x540E;&#x8BBE;&#x7F6E;color&#x3001;font-size&#x3002;<br>
&#x4EE3;&#x7801;&#x5B9E;&#x73B0;&#xFF1A;</p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-title">i</span> <span class="hljs-attribute">class</span>=<span class="hljs-value">&quot;iconfont icon-panda&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-title">i</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-title">i</span> <span class="hljs-attribute">class</span>=<span class="hljs-value">&quot;iconfont icon-pig&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-title">i</span>&gt;</span>
</code></pre>
<pre><code class="lang-css"><span class="hljs-tag">body</span> <span class="hljs-tag">i</span><span class="hljs-class">.icon-panda</span><span class="hljs-rules">{
    <span class="hljs-rule"><span class="hljs-attribute">color</span>:<span class="hljs-value"> red</span></span>;
    <span class="hljs-rule"><span class="hljs-attribute">font-size</span>:<span class="hljs-value"> <span class="hljs-number">100px</span></span></span>;
}</span>
<span class="hljs-tag">body</span> <span class="hljs-tag">i</span><span class="hljs-class">.icon-pig</span><span class="hljs-rules">{
    <span class="hljs-rule"><span class="hljs-attribute">color</span>:<span class="hljs-value"> blue</span></span>;
    <span class="hljs-rule"><span class="hljs-attribute">font-size</span>:<span class="hljs-value"> <span class="hljs-number">100px</span></span></span>;
    <span class="hljs-rule"><span class="hljs-attribute">text-shadow</span>:<span class="hljs-value"> <span class="hljs-number">10px</span> <span class="hljs-number">5px</span> <span class="hljs-number">15px</span> <span class="hljs-hexcolor">#CCCCCC</span></span></span>;
}</span>
</code></pre>
<h2 id="&#x6587;&#x5B57;&#x9634;&#x5F71;">&#x6587;&#x5B57;&#x9634;&#x5F71;</h2>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-title">div</span> <span class="hljs-attribute">class</span>=<span class="hljs-value">&quot;test&quot;</span>&gt;</span>&#x6D4B;&#x8BD5;&#x5B57;&#x4F53;bgg<span class="hljs-tag">&lt;/<span class="hljs-title">div</span>&gt;</span>
</code></pre>
<pre><code class="lang-css"><span class="hljs-class">.test</span><span class="hljs-rules">{
    <span class="hljs-comment">/*&#x6587;&#x5B57;&#x9634;&#x5F71;
     * &#x6C34;&#x5E73;&#x65B9;&#x5411;&#x7684;&#x4F4D;&#x7F6E;    &#x7B2C;&#x4E00;&#x4E2A;&#x6570;&#x503C;
     * &#x5782;&#x76F4;&#x65B9;&#x5411;&#x7684;&#x4F4D;&#x7F6E;    &#x7B2C;&#x4E8C;&#x4E2A;&#x6570;&#x503C;
     * &#x6A21;&#x7CCA;&#x5EA6;&#xFF0C;&#x6570;&#x503C;&#x8D8A;&#x9AD8;&#xFF0C;&#x6A21;&#x7CCA;&#x5EA6;&#x8D8A;&#x9AD8;&#xFF0C;&#x9ED8;&#x8BA4;&#x503C;&#x4E3A;;        &#x7B2C;&#x4E09;&#x4E2A;&#x6570;&#x503C;
     * &#x9634;&#x5F71;&#x989C;&#x8272;    &#x6700;&#x540E;&#x4E00;&#x4E2A;&#x6570;&#x503C;
     */</span>
    <span class="hljs-rule"><span class="hljs-attribute">text-shadow</span>:<span class="hljs-value"> <span class="hljs-number">5px</span> <span class="hljs-number">5px</span> <span class="hljs-number">2px</span> <span class="hljs-hexcolor">#FF0000</span></span></span>;
}</span>
</code></pre>
<h2 id="&#x6587;&#x672C;&#x4FEE;&#x9970;">&#x6587;&#x672C;&#x4FEE;&#x9970;</h2>
<pre><code class="lang-css"><span class="hljs-comment">/*
 &#x6587;&#x672C;&#x63CF;&#x8FF0;
 &#x53EF;&#x4EE5;&#x8BBE;&#x7F6E;&#x4E09;&#x79CD;&#x4F4D;&#x7F6E;&#x7684;&#x7EBF;&#x6761;
 overline&#x6587;&#x672C;&#x4E0A;&#x90E8;&#x7684;&#x6A2A;&#x7EBF;
 line-through&#x7A7F;&#x8FC7;&#x6587;&#x672C;&#x7684;&#x6A2A;&#x7EBF;
 none&#x53BB;&#x9664;&#x4E0B;&#x5212;&#x7EBF;
 underline&#x6DFB;&#x52A0;&#x4E0B;&#x5212;&#x7EBF;
 * */</span>
<span class="hljs-rule"><span class="hljs-attribute">text-decoration</span>:<span class="hljs-value"> none</span></span>;
<span class="hljs-rule"><span class="hljs-attribute">text-decoration</span>:<span class="hljs-value"> overline</span></span>;
<span class="hljs-rule"><span class="hljs-attribute">text-decoration</span>:<span class="hljs-value"> line-through</span></span>;
<span class="hljs-rule"><span class="hljs-attribute">text-decoration</span>:<span class="hljs-value"> underline</span></span>;
</code></pre>
<h2 id="&#x989C;&#x8272;">&#x989C;&#x8272;</h2>
<p>&#x63CF;&#x7ED8;&#x989C;&#x8272;&#x53EF;&#x4EE5;&#x7528;&#x5173;&#x952E;&#x5B57;&#x3001;&#x5341;&#x516D;&#x8FDB;&#x5236;&#x3001;rgb&#x6765;&#x63CF;&#x7ED8;</p>
<pre><code class="lang-css"><span class="hljs-rule"><span class="hljs-attribute">color</span>:<span class="hljs-value"> red</span></span>;<span class="hljs-comment">/*&#x5355;&#x8BCD;&#x6A21;&#x5F0F;*/</span>
<span class="hljs-rule"><span class="hljs-attribute">color</span>:<span class="hljs-value"> <span class="hljs-hexcolor">#FF0000</span></span></span>;<span class="hljs-comment">/*16&#x8FDB;&#x5236;&#x6A21;&#x5F0F;#999999  #cccccc  #808080   #333333*/</span>
<span class="hljs-rule"><span class="hljs-attribute">color</span>:<span class="hljs-value"> <span class="hljs-function">rgba</span>(<span class="hljs-number">255</span>,<span class="hljs-number">0</span>,<span class="hljs-number">0</span>,.<span class="hljs-number">5</span>)</span></span>;<span class="hljs-comment">/*rgba&#x6A21;&#x5F0F;,&#x53EF;&#x4EE5;&#x652F;&#x6301;&#x900F;&#x660E;&#x5EA6;&#x7684;&#x989C;&#x8272;&#x503C;,&#x900F;&#x660E;&#x5EA6;&#x53D6;&#x503C;&#x8303;&#x56F4;&#x662F;0-1*/</span>
<span class="hljs-rule"><span class="hljs-attribute">color</span>:<span class="hljs-value"> <span class="hljs-function">hsl</span>(<span class="hljs-number">0</span>,<span class="hljs-number">0</span>,<span class="hljs-number">21</span>)</span></span>;<span class="hljs-comment">/*&#x8272;&#x76F8;    &#x9971;&#x548C;&#x5EA6;    &#x660E;&#x5EA6;*/</span>
<span class="hljs-rule"><span class="hljs-attribute">color</span>:<span class="hljs-value"> <span class="hljs-function">hsla</span>(<span class="hljs-number">0</span>,<span class="hljs-number">0</span>,<span class="hljs-number">21</span>,.<span class="hljs-number">5</span>)</span></span>;<span class="hljs-comment">/*&#x8272;&#x76F8;    &#x9971;&#x548C;&#x5EA6;    &#x660E;&#x5EA6;,&#x652F;&#x6301;&#x900F;&#x660E;&#x5EA6;*/</span>
</code></pre>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../../md/css/伪对象选择器.html" class="navigation navigation-prev " aria-label="Previous page: 伪对象选择器"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../../md/css/边框.html" class="navigation navigation-next " aria-label="Next page: border边框和background背景"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../../gitbook/app.js"></script>

    
    <script src="../../gitbook/plugins/gitbook-plugin-toggle-chapters/toggle.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"toggle-chapters":{},"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"livereload":{}};
    gitbook.start(config);
});
</script>

        <!-- body:end -->
    </body>
    <!-- End of book 个人笔记 -->
</html>
